let myChart = echarts.init(document.querySelector(".round_1"));
let youChart = echarts.init(document.querySelector(".round_2"));
let heChart = echarts.init(document.querySelector(".round_3"));

let option = {
  // 加水印
  graphic: [
    {
      type: "text",
      top: "33%",
      left: "35%",
      style: {
        text: "520",
        fill: "#fff",
        color: "#fff",
        fontSize: 18,
        fontWeight: "bold",
      },
    },
    {
      type: "text",
      top: "55%",
      left: "25%",
      style: {
        text: "占比54%",
        fill: "#A6A8B6",
        fontSize: 12,
        fontWeight: "normal",
      },
    },
  ],
  series: [
    {
      type: "pie",
      //   radius: '50%',
      radius: [30, 35],
      label: {
        show: false,
      },
      startAngle: 200,
      data: [
        {
          value: 30,
          itemStyle: {
            color: "#333843",
          },
        },
        {
          value: 90,
          itemStyle: {
            color: "#6abaf2",
          },
        },
      ],
    },
  ],
};

myChart.setOption(option);
youChart.setOption(option);
heChart.setOption(option);
